package com.cdp.web.controller.system;

import com.cdp.common.core.domain.AjaxResult;
import com.cdp.system.dto.SysMineralModelDTO;
import com.cdp.system.service.ISysMineralModelService;
import com.cdp.system.service.ISysMineralPowderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * 矿粉实体类
 */
@RestController
@RequestMapping("")
public class SysMineralPowderController {


    @Autowired
    private ISysMineralPowderService sysMineralPowderService;

    /**
     * 查询矿粉
     *
     * @return
     */

    @PostMapping("ListMistedMineral")
    public AjaxResult ListMistedMineral(@RequestBody SysMineralModelDTO sysMineralModelDTO) {
        return sysMineralPowderService.sysMineralPowderService(sysMineralModelDTO);
    }


}
